/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.migracion.components;

/**
 *
 * @author stevenziggiz
 */
public enum DataType {

    /**
     *
     */
    BIGINT("BIGINT", null, "BIGINT", "BIGINT"),
    BIT("BIT", null, "BIT", "BIT"),
    BLOB("BLOB", "BLOB", "", null),
    CHAR("CHAR", "CHAR", "CHAR", "CHAR"),
    DATE("DATE", "DATE", null, "DATE"),
    DATETIME("DATETIME", null, "DATETIME", "TIMESTAMP"),
    DECIMAL("DECIMAL", null, "DECIMAL", "DECIMAL"),
    DOUBLE("DOUBLE", null, null, null),
    INT("INT", null, null, null),
    INTEGER(null, null, "INTEGER", "INTEGER"),
    NUMERIC("NUMERIC", null, "NUMERIC", "NUMERIC"),
    NUMBER(null, "NUMBER", null, null),
    REAL("REAL", null, "REAL", null),
    SMALLINT("SMALLINT", null, "SMALLINT", "SMALLINT"),
    TEXT("TEXT", null, null, "TEXT"),
    TIME("TIME", null, null, "TIME"),
    TIMESTAMP("TIMESTAMP", null, "TIMESTAMP", "TIMESTAMP"),
    VARCHAR("VARCHAR", null, "VARCHAR", "VARCHAR"),
    VARCHAR2(null,"VARCHAR",null,null),
    YEAR("YEAR", null, null, null);
    private String mysql;
    private String oracle;
    private String sqlserver;
    private String postgresql;

    private DataType(String mysql, String oracle, String sqlserver, String postgresql) {
        this.mysql = mysql;
        this.oracle = oracle;
        this.sqlserver = sqlserver;
        this.postgresql = postgresql;
    }

    /**
     * @return the mysql
     */
    public String getMysql() {
        return mysql;
    }

    /**
     * @param mysql the mysql to set
     */
    public void setMysql(String mysql) {
        this.mysql = mysql;
    }

    /**
     * @return the oracle
     */
    public String getOracle() {
        return oracle;
    }

    /**
     * @param oracle the oracle to set
     */
    public void setOracle(String oracle) {
        this.oracle = oracle;
    }

    /**
     * @return the sqlserver
     */
    public String getSqlserver() {
        return sqlserver;
    }

    /**
     * @param sqlserver the sqlserver to set
     */
    public void setSqlserver(String sqlserver) {
        this.sqlserver = sqlserver;
    }

    /**
     * @return the postgresql
     */
    public String getPostgresql() {
        return postgresql;
    }

    /**
     * @param postgresql the postgresql to set
     */
    public void setPostgresql(String postgresql) {
        this.postgresql = postgresql;
    }
}
